package com.lingyue.entity.module.def.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
* <p>
* 
* </p>
*
* @author deep
* @version 1.0 on 2020-02-08
*/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("cam_status_relation")
@ApiModel(value="CamStatusRelationEntity对象", description="")
public class CamStatusRelationEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "CSR_ID", type = IdType.ASSIGN_ID)
    private Integer id;

    @TableField("CSR_CAM_TYPE")
    private String camType;

    @TableField("CSR_RESPONSE_STATUS")
    private Integer responseStatus;

    @TableField("CSR_FINISHED")
    private String finished;


    public static final String CSR_ID = "CSR_ID";
    public static final String CSR_CAM_TYPE = "CSR_CAM_TYPE";
    public static final String CSR_RESPONSE_STATUS = "CSR_RESPONSE_STATUS";
    public static final String CSR_FINISHED = "CSR_FINISHED";

    public CamStatusRelationEntity() {
    }

    public CamStatusRelationEntity(String camType, Integer responseStatus) {
        this.camType = camType;
        this.responseStatus = responseStatus;
        this.finished = "N";
    }
}
